"""wujiangzto URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import include, url
from django.contrib import admin
from django.conf.urls.static import static
from django.conf import settings
from weixin.api.signalproc import *

urlpatterns = [
    url(r'^weixin/',include('weixin.urls')),
#     (r'^ckeditor/', include('ckeditor.urls')),
    url(r'^ckeditor/', include('ckeditor_uploader.urls')),
    
    url(r'^wuliuinfo/', 'wujiangzto.views.wuliuinfo',name=u'wuliuinfo'),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^query/$', 'wujiangzto.views.query',name=u'query'),
    url(r'^storeinfo/$', 'wujiangzto.views.storeinfo',name=u'storeinfo'),
    url(r'^getdata/', 'wujiangzto.views.getdata',name=u'getdata'),
    url(r'^ditupath/', 'wujiangzto.views.ditupath',name=u'ditupath'),
    url(r'^getstoreinfo/$', 'wujiangzto.views.getstoreinfo',name=u'getstoreinfo'),
    
    url(r'^addadress/$', 'wujiangzto.views.addadress',name=u'addadress'),
    url(r'^addadr/$', 'wujiangzto.views.addadr',name=u'addadr'),
    url(r'^getadress/$', 'wujiangzto.views.getadress',name=u'getadress'),
    url(r'^deladr/$', 'wujiangzto.views.deladr',name=u'deladr'),
    url(r'^order/$', 'wujiangzto.views.order',name=u'order'),
    url(r'^addorder/$', 'wujiangzto.views.addorder',name=u'addorder'),
    url(r'^postorder/$', 'wujiangzto.views.postorder',name=u'postorder'),
    url(r'^ordercancel/$', 'wujiangzto.views.ordercancel',name=u'ordercancel'),
    url(r'^orderinfo/$', 'wujiangzto.views.orderinfo',name=u'orderinfo'),
    url(r'^orderview/$', 'wujiangzto.views.orderview',name=u'orderview'),
    
    url(r'^townlist/$', 'wujiangzto.views.townlist',name=u'townlist'),
    url(r'^sitelist/$', 'wujiangzto.views.sitelist',name=u'sitelist'),
    url(r'^siteinfo/$', 'wujiangzto.views.siteinfo',name=u'siteinfo'),
    
    url(r'^suggest/$', 'wujiangzto.views.suggest',name=u'suggest'),
    url(r'^suggestadd/$', 'wujiangzto.views.suggestadd',name=u'suggestadd'),
    
    url(r'^regadmin/$', 'wujiangzto.views.regadmin',name=u'regadmin'),
    url(r'^addadmin/$', 'wujiangzto.views.addadmin',name=u'addadmin'),
    
    
    url(r'^news/$', 'wujiangzto.views.news',name=u'news'),
    url(r'^feelist/$', 'wujiangzto.views.feelist',name=u'feelist'),
    url(r'^advantage/$', 'wujiangzto.views.advantage',name=u'advantage'),
    url(r'^newcont/$', 'wujiangzto.views.newcont',name=u'newcont'),
    url(r'^index/$', 'wujiangzto.views.index',name=u'index'),
    url(r'^getorderfee/$','wujiangzto.views.getorderfee',name=u'getorderfee'),
]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
